﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManageBZ.aspx.cs" Inherits="Admin_ManageBZ" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>角色管理</title>
    
    <link href="../css/SIS.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>

    <script language="javascript" type="text/javascript" src="../Js/Excel.js"></script>
    
    <style type="text/css">

    .button
    {
    width:56px;  /*图片宽带*/
    background:url(../img/button.jpg) no-repeat left top;  /*图片路径*/
    border:none;  /*去掉边框*/
    height:24px; /*图片高度*/
    color:White;
    vertical-align: middle;
    text-align:center
    }

    .grid-head 
    { 
        font-size: 12px; 
        font-weight:bold; 
        color:White;
        background-image:url(../img/footer.jpg); 
        text-align:center; 
        vertical-align:middle; 
    }

    .style3
    {
        font-size:12px;
        width:386px;
        height:28px;
        color:White;
    }

    .style4
    {
        font-size:12px;
        width:100px;
        color:White;
    }

    </style>

    
</head>
<body>
    <form id="form1" runat="server">
        <div id="Div2">
            <img id="imgTop" height="38px;" src="../img/ManageBZ.jpg" width="100%" alt="班组管理" />
        </div>
            
    <table id="__01"  border="0" cellpadding="0" cellspacing="0">
        <tr>
	        <td><img src="../img/Manage_01.jpg" width="28" height="34" alt=""/></td>
	        <td colspan="2" style=" background:url(../img/Manage_02.jpg)"></td>
	        <td><img src="../img/Manage_03.jpg" width="29" height="34" alt=""/></td>
        </tr>
	    <tr>
		    <td style=" background:url(../img/Manage_04.jpg)" ></td>
		    <td style="background-color:#599ce0" align="right" class="style4">班组编号：</td>
		    <td style="background-color:#599ce0" align="left" class="style3">
		        <asp:TextBox ID="tbBzId" runat="server" Width="240px"></asp:TextBox><asp:Label ID="lbBzId" runat="server" Visible="False"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbBzid" ErrorMessage="班组编号不能为空"></asp:RequiredFieldValidator></td>
		    <td style=" background:url(../img/Manage_07.jpg)"></td>
	    </tr>
	    <tr>
		    <td style=" background:url(../img/Manage_04.jpg)" ></td>
		    <td style="background-color:#599ce0" align="right" class="style4">班组描述：</td>
		    <td style="background-color:#599ce0" align="left" class="style3">
		        <asp:TextBox ID="tbBzMs" runat="server" Width="240px"></asp:TextBox><asp:Label ID="lbBzMs" runat="server" Visible="False"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbBzMs" ErrorMessage="班组描述不能为空"></asp:RequiredFieldValidator></td>
		    <td style=" background:url(../img/Manage_07.jpg)"></td>
	    </tr>
	    <tr>
		    <td><img src="../img/Manage_12.jpg" width="28" height="5" alt=""/></td>
		    <td colspan="2" style=" background:url(../img/Manage_13.jpg)"><img src="../img/Manage_13.jpg" width="202" height="5" alt=""/></td>
		    <td><img src="../img/Manage_14.jpg" width="29" height="5" alt=""/></td>
	    </tr>
	    <tr>
		    <td><img src="../img/Manage_15.jpg" width="28" height="27" alt=""/></td>
		    <td colspan="2" style="background-color:#b9dcef" align="center">
		        <asp:Button ID="btnSure" runat="server" Text="添加" OnClick="btnSure_Click" CssClass="button"></asp:Button>
                                &nbsp;
                <asp:Button ID="btnCancel" runat="server" Text="取消" OnClick="btnCancel_Click" CausesValidation="False" CssClass="button"></asp:Button>
		    </td>
		    <td><img src="../img/Manage_17.jpg" width="29" height="27" alt=""/></td>
	    </tr>
	    <tr>
		    <td><img src="../img/Manage_18.jpg" width="28" height="10" alt=""/></td>
		    <td colspan="2" style=" background:url(../img/Manage_19.jpg)"><img src="../img/Manage_19.jpg" width="202" height="10" alt=""/></td>
		    <td><img src="../img/Manage_20.jpg" width="29" height="10" alt=""/></td>
	    </tr>
	    <tr>
		    <td style=" background:url(../img/Manage_21.jpg)"><img src="../img/Manage_21.jpg" width="28" height="86" alt=""/></td>
		    <td colspan="2" style="background-color:#ffffff" align="center">
		        <asp:GridView ID="GridBZ" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None"  DataKeyNames="班组编号" 
		        Width="100%" OnSelectedIndexChanging="gridBZ_SelectedIndexChanging" OnRowDeleting="gridBZ_RowDeleting">
                    <RowStyle BackColor="#EFF3FB"  HorizontalAlign ="Center"/>
                    <Columns>
                        <asp:BoundField HeaderText="班组编号" DataField="班组编号" />
                        <asp:BoundField HeaderText="班组描述" DataField="班组描述" />
                        <asp:CommandField HeaderText="操作" SelectText="修改" ShowSelectButton="True" />
                        <asp:CommandField HeaderText="操作" DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('删除该班组会影响到排班设置，请确认删除！一旦删除无法恢复！')&quot;&gt;删除&lt;/div&gt;"
                            ShowDeleteButton="True" />
                    </Columns>
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle CssClass="grid-head"/>
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
    		</td>
		    <td style=" background:url(../img/Manage_23.jpg)"><img src="../img/Manage_23.jpg" width="29" height="86" alt=""/></td>
	    </tr>
	    <tr>
		    <td><img src="../img/Manage_24.jpg" width="28" height="25" alt=""/></td>
		    <td colspan="2" style=" background:url(../img/Manage_25.jpg)"><img src="../img/Manage_25.jpg" width="202" height="25" alt=""/></td>
		    <td><img src="../img/Manage_26.jpg" width="29" height="25" alt=""/></td>
	    </tr>
    </table>
    </form>
</body>
</html>
